{% extends 'title.html' %}

{% block content %}
    <div style="text-align: center;">
        <form action="/register/" method="post">
            {% csrf_token %}
            <div class="account text-center" style="margin-top: 30px;height: 350px">
                <form>
                    <h2>用户注册</h2>
                    <div class="form-group">
                        <label for="exampleInputEmail1">账号</label>
                        <input type="text" name="name" class="form-control" id="exampleInputEmail1" placeholder="">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword1">密码</label>
                        <input type="password" name="pwd" class="form-control" id="exampleInputPassword1" placeholder="">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword1">确认密码</label>
                        <input type="password" name="pwd2" class="form-control" id="exampleInputPassword1" placeholder="">
                    </div>
                    <p class="warning" style="color: red; font-size: 12px">{{ err }}</p>
                    <button type="submit" class="btn btn-primary">提交</button>
                </form>
            </div>

        </form>
    </div>
{% endblock %}

